PutOptionalUpgrades
This request returns the details of a specific optional upgrades.
Request URL
PUT https://api.theownly.io/v1/models/{modelId}/optionalUpgrades/{Id}
Headers
| Name | Value | Required? | 
|---|---|---|
| Accept | application/json | Yes | 
| Authorization | Bearer{APItoken} | Yes | 
| Content-Type | application/json | Yes | 
Parameters
| Name | Type | Required? | Description | 
|---|---|---|---|
| modelId | String | Yes | Model ID | 
| name | String | Yes | Optional Upgrade Name | 
| price | Number | No | 
Example Request
curl -X 'PUT' \
  'https://api.theownly.io/v1/models/TbuHj789/optionalUpgrades' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer {APItoken}' \
  -H 'Content-Type: application/json' \
  -d '{
         "name": "Parking",
         "price": 0
      }'  
Example Response
 {
    "id": "j156XwnJ",
    "name": "Parking",
    "price": 0
 }